Determines if the point is in the text of the link in the hyperlink control.
Syntax
'Declaration
Public Overloads Shared Function IsPointInLink( _
ByVal As Graphics, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Rectangle, _
ByVal As String, _
ByVal As Font, _
ByVal As HorizontalAlignment, _
ByVal As VerticalAlignment, _
ByVal () As LinkArea, _
ByVal As Picture _
) As Integer
'Usage
Dim g As Graphics
Dim x As Integer
Dim y As Integer
Dim r As Rectangle
Dim text As String
Dim f As Font
Dim horizontalAlignment As HorizontalAlignment
Dim verticalAlignment As VerticalAlignment
Dim areas() As LinkArea
Dim pict As Picture
Dim value As Integer
value = FpHyperlink.IsPointInLink(g, x, y, r, text, f, horizontalAlignment, verticalAlignment, areas, pict)
Parameters
- g
- GDI+ graphics surface
- x
- X-coordinate of point
- y
- Y-coordinate of point
- r
- Image rectangle
- text
- Text of the hyperlink
- f
- Font of the text
- horizontalAlignment
- Horizontal alignment
- verticalAlignment
- Vertical alignment
- areas
- Areas of the hyperlink
- pict
- Picture (image)
See Also